package cn.edu.cqut.mdm.core.module;

import cn.edu.cqut.mdm.core.publisherdispatcher.PublisherDispatcher;

public class PublishStatus {
	public enum Status {
		UNPUBLISHED, PUBLISHED
	}
	private Status status = Status.UNPUBLISHED;
	private PublisherDispatcher publisherDispatcher;
	private ModuleEntity moduleEntity;
	
	public PublishStatus(PublisherDispatcher publisherDispatcher, ModuleEntity moduleEntity) {
		this.publisherDispatcher = publisherDispatcher;
		this.moduleEntity = moduleEntity;
	}
	public Status getStatus() {
		return status;
	}
	public void setStatus(Status status) {
		this.status = status;
	}
	public PublisherDispatcher getPublisherDispatcher() {
		return publisherDispatcher;
	}
	public void setPublisherDispatcher(PublisherDispatcher publisherDispatcher) {
		this.publisherDispatcher = publisherDispatcher;
	}
	public ModuleEntity getModuleEntity() {
		return moduleEntity;
	}
	public void setModuleEntity(ModuleEntity moduleEntity) {
		this.moduleEntity = moduleEntity;
	}
}
